package com.dede.getmusic.module.home

import com.dede.getmusic.base.IBaseView
import com.dede.getmusic.data.SearchInfo

/**
 * @author hsh
 * @date 2017/10/12 14:59.
 * @doc
 */
interface IMainView : IBaseView {

    fun loadMusicLinkFinish(link: String)

    fun refreshMusicFinish(key: String, data: List<SearchInfo.SongsBean>, hasMore: Boolean)

    fun loadMoreMusicFinish(data: List<SearchInfo.SongsBean>, hasMore: Boolean)

    fun error(msg: String, isLoadMore: Boolean = false)

    fun refreshSearchHis(list: List<String>)

}